package com.ruoyi.roomType.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 收货地址对象 wdm_delivery_address
 * 
 * @author ruoyi
 * @date 2025-05-09
 */
public class Address extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 收货地址ID */
    private Long addressId;

    /** 关联顾客ID（外键） */
    @Excel(name = "关联顾客ID", readConverterExp = "外=键")
    private Long customerId;

    /** 收货人姓名 */
    @Excel(name = "收货人姓名")
    private String deliveryName;

    /** 收货人联系电话 */
    @Excel(name = "收货人联系电话")
    private String deliveryPhone;

    /** 省份 */
    @Excel(name = "省份")
    private String province;

    /** 城市 */
    @Excel(name = "城市")
    private String city;

    /** 区县 */
    @Excel(name = "区县")
    private String district;

    /** 详细街道 */
    @Excel(name = "详细街道")
    private String detailAddress;

    /** 邮政编码 */
    @Excel(name = "邮政编码")
    private String postalCode;

    /** 默认 */
    @Excel(name = "默认")
    private String isDefault;

    /** 地址标签 */
    @Excel(name = "地址标签")
    private String addressTag;

    /** 地址状态 */
    private String status;

    /** 删除标志 */
    private String delFlag;

    /** 版本号 */
    private Long version;

    public void setAddressId(Long addressId) 
    {
        this.addressId = addressId;
    }

    public Long getAddressId() 
    {
        return addressId;
    }

    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }

    public void setDeliveryName(String deliveryName) 
    {
        this.deliveryName = deliveryName;
    }

    public String getDeliveryName() 
    {
        return deliveryName;
    }

    public void setDeliveryPhone(String deliveryPhone) 
    {
        this.deliveryPhone = deliveryPhone;
    }

    public String getDeliveryPhone() 
    {
        return deliveryPhone;
    }

    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }

    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }

    public void setDistrict(String district) 
    {
        this.district = district;
    }

    public String getDistrict() 
    {
        return district;
    }

    public void setDetailAddress(String detailAddress) 
    {
        this.detailAddress = detailAddress;
    }

    public String getDetailAddress() 
    {
        return detailAddress;
    }

    public void setPostalCode(String postalCode) 
    {
        this.postalCode = postalCode;
    }

    public String getPostalCode() 
    {
        return postalCode;
    }

    public void setIsDefault(String isDefault) 
    {
        this.isDefault = isDefault;
    }

    public String getIsDefault() 
    {
        return isDefault;
    }

    public void setAddressTag(String addressTag) 
    {
        this.addressTag = addressTag;
    }

    public String getAddressTag() 
    {
        return addressTag;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public void setVersion(Long version) 
    {
        this.version = version;
    }

    public Long getVersion() 
    {
        return version;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("addressId", getAddressId())
            .append("customerId", getCustomerId())
            .append("deliveryName", getDeliveryName())
            .append("deliveryPhone", getDeliveryPhone())
            .append("province", getProvince())
            .append("city", getCity())
            .append("district", getDistrict())
            .append("detailAddress", getDetailAddress())
            .append("postalCode", getPostalCode())
            .append("isDefault", getIsDefault())
            .append("addressTag", getAddressTag())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("version", getVersion())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .toString();
    }
}
